package com.example.music.service;

import com.example.music.mapper.UserMapper;
import com.example.music.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;
   public User login(User user){
       return userMapper.login(user);

    }
    public User login1(User user){
        return userMapper.login1(user);

    }


}
